button {
    cursor: pointer;
}

.box {
    width: 300px;
    height: 300px;
    margin: 5px auto;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main {

    box-sizing: border-box;
    border: 2.5px solid #007bff;
    border-radius: 50%;
    background: #007bff;
    overflow: hidden;
    position: relative;
    transition: all 3s cubic-bezier(0.46, 0.03, 0.52, 0.96);
    
    width: 100%; /* 修改这里 */
    height: 100%; /* 修改这里 */
}

.pointer {
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.pointer-bar {
    width: 30px;
    height: 12.5px;
    background: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%);
}

.pointer-cursor {
    width: 12.5px;
    height: 12.5px;
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translate(-50%, -50%) rotateZ(45deg);
    background: white;
}

.part {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: left center;
    z-index: 1;
}

.bg {
    width: 100%;
    height: 100%;
}

.title {
    transform: translate(0, -50%);
    transform-origin: left top;
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 0;
    padding-left: 45px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

